package com.example.mapper;



import com.example.pojo.OperteLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OperteMapper {
    /*
     * 生成日志
     * */
    @Insert("insert into operte_log(id, operate_user, operate_time, class_name, method_name, method_param, return_value, cost_time)" +
            " VALUE (#{id}, #{operteUser}, #{operteTime}, #{className}, #{methodName}, #{methodParam}, #{returnValue}, #{costTime})")
    void insert(OperteLog log);
}
